import Vue from 'vue'
import App from './App.vue'



//引入ElementUI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

Vue.config.productionTip = false

//引入路由
import VueRouter from "vue-router";

Vue.use(VueRouter);

import axios from '@/axios/axios';
Vue.prototype.$axios=axios;
import  store from '@/vuex/store'

//引入路由配置
import router from "@/router/router";

import Aplayer from "@moefe/vue-aplayer";
Vue.use(Aplayer);


import qs from 'qs'
Vue.prototype.qs = qs;
//指定格式
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
